//
//  Setup.h
//  九个头条
//
//  Created by nahuo on 15/1/6.
//  Copyright (c) 2015年 cn.huiz. All rights reserved.
//

#ifndef _____Setup_h
#define _____Setup_h

#define SetupInit \
- (id)initWithCoder:(NSCoder *)aDecoder { \
    if(self = [super initWithCoder:aDecoder]) { \
        [self setup]; \
    } \
    return self; \
} \
-(id)initWithFrame:(CGRect)frame { \
    if(self  = [super initWithFrame:frame]) { \
        [self setup]; \
    } \
    return self; \
} \
-(id)init { \
    if(self = [super init]) { \
        [self setup]; \
    } \
    return self; \
} \

#endif
